import java.lang.reflect.TypeVariable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Generic<T> {


    public Map<String, Teacher> map = new HashMap<>();


    public void setList(List<Number> k) {

    }

    public List<String> getList() {
        return null;
    }

    public void set(T t) {
        ArrayList<String> strings = new ArrayList<>();
        TypeVariable<? extends Class<? extends ArrayList>>[] parameters = strings.getClass().getTypeParameters();
        System.out.println(parameters[0].getName());
    }


    public <T extends Number> void setWithBound(T t) {
    }

    public T get() {
        return null;
    }
}